package com.xd.demo.constant;

import lombok.Getter;

/**
 * 关系类型
 *
 * @author daishun
 * @since 2019/8/27
 */
public enum RelationType {

    SPOUSE("spouse", "配偶"),
    PARENTS("parents", "父母"),
    CHILDREN("children", "子女"),
    BROTHERS_SISTERS("brothers_sisters", "兄弟姐妹"),
    RELATIVES("relatives", "亲属"),
    FRIENDS("friends", "朋友"),
    CLASSMATE("classmate", "同学"),
    COLLEAGUES("colleagues", "同事"),
    OTHER("other", "其他");

    @Getter
    private String code;
    @Getter
    private String remark;

    RelationType(String code, String remark) {
        this.code = code;
        this.remark = remark;
    }
}
